function pl(id,u){
	var a=u.replace(/%page_id%/g,document.getElementById(id).value);
	window.location.href=a;
}